export class PostsModel {
  code?: number
  msg?: string
  data?: PostsInfoModel
}

export class PostsInfoModel {
  records?: PostsInfoRecords[]
  total?: number
  size?: number
  current?: number
  pages?: number
}

export class PostsInfoRecords {
  posts_id?: string
  user_id?: string
  content?: string
  img_ids?: string
  share_number?: number
  like_number?: number
  comment_number?: number
  collect_number?: number
  topic_ids?: string
  update_time?: string
  create_by?: string
  create_time?: string
  if_like?: number
  if_my?: number
  if_collect?: number
  lon?: number
  lat?: number
  location?: string
  if_video?: number
  relation?: number
  avatar?: PostsInfoAvatar
  image?:PostsInfoAvatar[]
  focus?:boolean=false
  topicName?: string
}

export class PostsInfoAvatar {
  id?: number
  url?: string
  filename?: string
  contentLength?: number
  contentType?: string
  imageHeight?: number
  imageWidth?: number
}